package com.zenith.edu.po.dto;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduStudentDTO", description = "学生DTO")
public class EduStudentDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "系统用户ID")
    private Long userId;
    
    @Schema(description = "所属班级ID")
    private Long classId;
    
    @Schema(description = "学号")
    private String studentNo;
    
    @Schema(description = "入学日期")
    private LocalDate enrollDate;
    
    @Schema(description = "毕业日期")
    private LocalDate graduationDate;
    
    @Schema(description = "状态：1-在读 2-休学 3-毕业 4-退学")
    private Integer status;
}